package com.ruoyi.gybj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 装卸台信息对象 gybj_platform_info
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class PlatformInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 装卸台编码 */
    @Excel(name = "装卸台编码")
    private String platformCode;

    /** 装卸台名称 */
    @Excel(name = "装卸台名称")
    private String platformName;

    /** 装卸台描述 */
    @Excel(name = "装卸台描述")
    private String platformDesc;

    /** 站台类型 */
    @Excel(name = "站台类型")
    private String platformType;

    /** 危险源id */
    @Excel(name = "危险源id")
    private Long hazardId;

    /** 危险源名称 */
    @Excel(name = "危险源名称")
    private String hazardName;

    /** 建造日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建造日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date makedDate;

    /** 投用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usedDate;

    /** 运行状态（如：运行/停用/检修） */
    @Excel(name = "运行状态", readConverterExp = "如=：运行/停用/检修")
    private String runStatus;

    /** 经度 */
    @Excel(name = "经度")
    private String lon;

    /** 维度 */
    @Excel(name = "维度")
    private String lat;

    /** 点位ID（关联监控系统点位） */
    @Excel(name = "点位ID", readConverterExp = "关=联监控系统点位")
    private Long pointId;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPlatformCode(String platformCode) 
    {
        this.platformCode = platformCode;
    }

    public String getPlatformCode() 
    {
        return platformCode;
    }

    public void setPlatformName(String platformName) 
    {
        this.platformName = platformName;
    }

    public String getPlatformName() 
    {
        return platformName;
    }

    public void setPlatformDesc(String platformDesc) 
    {
        this.platformDesc = platformDesc;
    }

    public String getPlatformDesc() 
    {
        return platformDesc;
    }

    public void setPlatformType(String platformType) 
    {
        this.platformType = platformType;
    }

    public String getPlatformType() 
    {
        return platformType;
    }

    public void setHazardId(Long hazardId) 
    {
        this.hazardId = hazardId;
    }

    public Long getHazardId() 
    {
        return hazardId;
    }

    public void setHazardName(String hazardName) 
    {
        this.hazardName = hazardName;
    }

    public String getHazardName() 
    {
        return hazardName;
    }

    public void setMakedDate(Date makedDate) 
    {
        this.makedDate = makedDate;
    }

    public Date getMakedDate() 
    {
        return makedDate;
    }

    public void setUsedDate(Date usedDate) 
    {
        this.usedDate = usedDate;
    }

    public Date getUsedDate() 
    {
        return usedDate;
    }

    public void setRunStatus(String runStatus) 
    {
        this.runStatus = runStatus;
    }

    public String getRunStatus() 
    {
        return runStatus;
    }

    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }

    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }

    public void setPointId(Long pointId) 
    {
        this.pointId = pointId;
    }

    public Long getPointId() 
    {
        return pointId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("platformCode", getPlatformCode())
            .append("platformName", getPlatformName())
            .append("platformDesc", getPlatformDesc())
            .append("platformType", getPlatformType())
            .append("hazardId", getHazardId())
            .append("hazardName", getHazardName())
            .append("makedDate", getMakedDate())
            .append("usedDate", getUsedDate())
            .append("runStatus", getRunStatus())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("pointId", getPointId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
